home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Ultimate Frank Lloyd…ght - America's Architect
/
Ultimate Frank Lloyd Wright, The - America's Architect (1994)(Microsoft Home).iso
/
pre
/
flw
/
flwchj.dir
/
00044_Script_44
< prev
next >
Wrap
Text File
|
1994-11-15
|
5KB
|
176 lines
on startMovie
cursor 4
global nowFrame, currMM
global dialogOn, horness
set dialogOn = FALSE
set currMM = "FLWWW"
set horNess = "h"
puppetSprite 22, TRUE
puppetSprite 23, TRUE
puppetSprite 21, TRUE
puppetSprite 14, TRUE
puppetSprite 8, TRUE
set the immediate of sprite 23 to TRUE
set the stretch of sprite 23 to FALSE
cursor -1
end startMovie
on stepMovie
global nowFrame,currFrame
if nowFrame <> currFrame then
seeAlsoList
set currFrame = nowFrame
end if
end stepMovie
on stopMovie
set the castNum of sprite 21 to 1050
puppetSprite 21, FALSE
put " " into field "SeeAlsoText"
updateStage
end stopMovie
on saveLocals
global lastFrame, nowFrame, lastMovie
set lastMovie = "FLWCHJ"
set lastFrame = nowFrame
end saveLocals
on buttonState
global bflag, FrankNav, dialogOn
if dialogOn = FALSE then
if rollover(15) then
periodRoll
else
set the locV of sprite 14 to 490
end if
-- don't check global buttons unless mouse is down at bottom
if (the mouseV > 200) or (bFlag = TRUE) then
set bFlag = FALSE
doState
end if
else if dialogOn = TRUE then
if the mouseDown then
if the mouseCast <> the number of cast "glossDialog" then
beep
end if
end if
end if
end buttonState
on chBackStep
global nowFrame
unLoadCast 9, 42
puppetSprite 8, FALSE
if nowFrame = "ch000bld083°°°" then
puppetTransition 1, 0, 8
go to frame "ch000bld082°°°" of movie "FLWCHG"
else
puppetTransition 1, 0, 8
go marker (-1)
end if
puppetSprite 8, TRUE
updateStage
end chBackStep
on chForStep
global nowFrame
unLoadCast 9, 42
puppetSprite 8, FALSE
if nowFrame = "ch000bld099°°°" then
puppetTransition 2, 0, 8
go to frame "ch000bld100°°°" of movie "FLWCHK"
else
puppetTransition 2, 0, 8
go marker (+1)
end if
puppetSprite 8, TRUE
updateStage
end chForStep
on textRoll txHt
global topHat, horNess, dialogOn, seeAlsoBox
if dialogOn = FALSE and seeAlsoBox = FALSE then
set topHat = txHt
if horNess = "ver" then
if the mouseH < 230 and the mouseV > 366 and the mouseV < 429 then
set the locV of sprite 8 to txHt
set the ink of sprite 16 to 8
set the foreColor of sprite 16 to 215
set rolledAlready = TRUE
else if the mouseH > 230 or the mouseV > 429 or the mouseV < topHat then
set the locV of sprite 8 to 364
set the ink of sprite 16 to 36
set the forecolor of sprite 16 to 0
end if
set horNess = "h"
else
if the mouseH < 414 and the mouseV > 366 and the mouseV < 429 then
set the locV of sprite 8 to txHt
set the ink of sprite 16 to 8
set the foreColor of sprite 16 to 215
set rolledAlready = TRUE
else if the mouseH > 414 or the mouseV > 429 or the mouseV < topHat then
set the locV of sprite 8 to 364
set the ink of sprite 16 to 36
set the forecolor of sprite 16 to 0
end if
end if
--updateStage
end if
end textRoll
on periodRoll
global perV, thumbTrack
put the mouseV - 206 into perV
put perV / 24 into perV
if perV = 0 then
set the locV of sprite 14 to 206
else if perV = 1 then
set the locV of sprite 14 to 230
else if perV = 2 then
set the locV of sprite 14 to 254
else if perV = 3 then
set the locV of sprite 14 to 278
else if perV = 4 then
set the locV of sprite 14 to 302
else if perV = 5 then
set the locV of sprite 14 to 326
else if perV = 6 then
set the locV of sprite 14 to 350
else if perV = 7 then
set the locV of sprite 14 to 374
end if
updateStage
end periodRoll
on goPeriod
global perV
puppetSprite 8, FALSE
if perV = 0 then
go to frame "ch000bld001°°°" of movie "FLWCHE"
else if perV = 1 then
go to frame "ch000bld003°°°" of movie "FLWCHE"
else if perV = 2 then
go to frame "ch000bld019°°°" of movie "FLWCHF"
else if perV = 3 then
go to frame "ch000bld061°°°" of movie "FLWCHG"
else if perV = 4 then
go to frame "ch000bld074°°°" of movie "FLWCHG"
else if perV = 5 then
go to frame "ch000bld083°°°"
puppetSprite 8, TRUE
else if perV = 6 then
go to frame "ch000bld100°°°" of movie "FLWCHK"
else if perV = 7 then
go to frame "ch000bld118°°°" of movie "FLWCHL"
end if
updateStage
end goPeriod